package com.wx.wxpush.service.impl;

import com.wx.wxpush.entiy.TempData;
import com.wx.wxpush.entiy.TemplateData;
import com.wx.wxpush.mapper.PusherMapper;
import com.wx.wxpush.service.PusherService;
import com.wx.wxpush.util.Pusher;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PusherServiceImpl implements PusherService {
    @Autowired
    private PusherMapper pusherMapper;
    @Override
    public int pusher(TempData templateData) {
        return  Pusher.pushMorning(templateData);
    }
}
